<template>
	<uni-popup ref="popup" type="bottom">

		<view class="uni-list">
			<view class="uni-list-cell">
				<view class="uni-list-cell-left">
					当前选择
				</view>
				<view class="uni-list-cell-db">
					<picker mode="date" :value="date" >
						<view class="uni-input">{{date}}11</view>
					</picker>
				</view>
			</view>
		</view>
		<!-- <view class="box">
			<uni-datetime-picker
							v-model="datetimerange"
							type="date"
						/>
		</view> -->
		<!-- <uni-datetime-picker type="datetime" v-model="time" /> -->
	</uni-popup>
</template>

<script>
	export default {
		name: "timePop",
		data() {
			return {
				time: null,
				date: "2021-04-3",
			};
		},
		methods: {
			open() {
				this.$refs.popup.open('bottom')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.box {
		min-height: 300rpx;
		background-color: #fff;
	}
</style>